// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SEC_MENU
// * CreateDate    : 2014-06-05 18:30:40
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:40
// * LastChanger   : 2014-06-05 18:30:40
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SecMenuTable : TableInfo
    {
		public const string C_TableName = "SEC_MENU";
		
		public const string C_MENU_ID = "MENU_ID";
		public const string C_PARENT_MENU = "PARENT_MENU";
		public const string C_MENU_TYPE_CODE = "MENU_TYPE_CODE";
		public const string C_MENU_NAME = "MENU_NAME";
		public const string C_EXE_FILE = "EXE_FILE";
		public const string C_FORM_NAME = "FORM_NAME";
		public const string C_METHOD = "METHOD";
		public const string C_ORDER_INDEX = "ORDER_INDEX";
		public const string C_IMAGE_NAME = "IMAGE_NAME";
		public const string C_MASTER_FLAG = "MASTER_FLAG";
		
		public SecMenuTable()
        {
            _tableName = "SEC_MENU";
        }
		
		protected static SecMenuTable _current;
        public static SecMenuTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SecMenuTable();

            _current.Add(C_MENU_ID, new ColumnInfo(C_MENU_ID,"MenuId", true, typeof(string)));
            _current.Add(C_PARENT_MENU, new ColumnInfo(C_PARENT_MENU,"ParentMenu", false, typeof(string)));
            _current.Add(C_MENU_TYPE_CODE, new ColumnInfo(C_MENU_TYPE_CODE,"MenuTypeCode", false, typeof(string)));
            _current.Add(C_MENU_NAME, new ColumnInfo(C_MENU_NAME,"MenuName", false, typeof(string)));
            _current.Add(C_EXE_FILE, new ColumnInfo(C_EXE_FILE,"ExeFile", false, typeof(string)));
            _current.Add(C_FORM_NAME, new ColumnInfo(C_FORM_NAME,"FormName", false, typeof(string)));
            _current.Add(C_METHOD, new ColumnInfo(C_METHOD,"Method", false, typeof(string)));
            _current.Add(C_ORDER_INDEX, new ColumnInfo(C_ORDER_INDEX,"OrderIndex", false, typeof(decimal)));
            _current.Add(C_IMAGE_NAME, new ColumnInfo(C_IMAGE_NAME,"ImageName", false, typeof(string)));
            _current.Add(C_MASTER_FLAG, new ColumnInfo(C_MASTER_FLAG,"MasterFlag", false, typeof(int)));
			
		}
		
		public ColumnInfo MENU_ID
        {
            get { return this[C_MENU_ID]; }
        }
		
		public ColumnInfo PARENT_MENU
        {
            get { return this[C_PARENT_MENU]; }
        }
		
		public ColumnInfo MENU_TYPE_CODE
        {
            get { return this[C_MENU_TYPE_CODE]; }
        }
		
		public ColumnInfo MENU_NAME
        {
            get { return this[C_MENU_NAME]; }
        }
		
		public ColumnInfo EXE_FILE
        {
            get { return this[C_EXE_FILE]; }
        }
		
		public ColumnInfo FORM_NAME
        {
            get { return this[C_FORM_NAME]; }
        }
		
		public ColumnInfo METHOD
        {
            get { return this[C_METHOD]; }
        }
		
		public ColumnInfo ORDER_INDEX
        {
            get { return this[C_ORDER_INDEX]; }
        }
		
		public ColumnInfo IMAGE_NAME
        {
            get { return this[C_IMAGE_NAME]; }
        }
		
		public ColumnInfo MASTER_FLAG
        {
            get { return this[C_MASTER_FLAG]; }
        }
		
		
		
	}
}

